# -*- coding: utf-8 -*-
import peewee
from framework.dal.models import BaseProfileModel, TranslatedField


class ConfigEnvSet(BaseProfileModel):
    Id = peewee.IntegerField(default=0)
    EnvKey = peewee.CharField(max_length=50, primary_key=True)
    EnvValue = peewee.TextField(null=True)
    ValueType = peewee.CharField(max_length=10, null=True)
    Remark = peewee.CharField(max_length=255, null=True)
    OnlyServer = peewee.IntegerField(default=0, null=True)